<html>
<head>
    <title>工作流测试</title>
</head>
<body>
<span>admin manager boss</span>
<br/>
<span>用户：</span><input id="userIdStart" name="userIdStart">
<span>流程id：</span><input id="processStart" name="processStart">
<span>条件（天数）：</span><input id="daysStart" name="daysStart">
<span>业务id：</span><input id="formIdStart" name="formIdStart">
<input type="button" id="startActiviti" value="启动一个流程" onclick="startProcess()">
<br/>
<span>用户：</span><input id="userIdFind" name="userIdFind">
<span>流程id：</span><input id="processFind" name="processFind">
<input type="button" id="findTasksByUserId" value="查看名下流程" onclick="findActivitiProcess()">
<br/>
<span>流程实例id：</span><input id="processInstanceId" name="processFind">
<input type="button" id="findImageByProcessInstanceId" value="查看流程图" onclick="showImage()">
<input type="button" id="findShowHistoryTaskListByProcessInstanceId" value="查看流程状态" onclick="showProcessState()">
<input type="button" id="findProcessStateByProcessInstanceId" value="查看流程历史流程" onclick="showHistoryTaskList()">
<br/>
<span>用户：</span><input id="userIdApp" name="userIdApp">
<span>任务id：</span><input id="taskId" name="taskId">
<span>审核结果(0拒绝，1通过)：</span><input id="auditResult" name="auditResult">
<input type="button" id="apply" value="审批" onclick="apply()">
<div id="message">

</div>
</body>

<script type="text/javascript" src="/lib/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="/js/act/activiti.js"></script>
</html>